using Nop.Plugin.Misc.MessageDesigner.Domain;
using System.Data.Entity.ModelConfiguration;

namespace Nop.Plugin.Misc.MessageDesigner.Data
{
    public partial class MessageDesignerMap : EntityTypeConfiguration<MessageDesign>
    {
        public MessageDesignerMap()
        {
            this.ToTable("MessageDesigner");
            this.HasKey(mt => mt.Id);
            this.Property(mt => mt.Name).IsRequired().HasMaxLength(200);
        }
    }
}